package com.note.app.dto.ai;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * AI响应DTO
 */
@Data
@Schema(description = "AI响应")
public class AIResponseDTO {
    
    /**
     * 会话ID
     */
    @Schema(description = "会话ID", example = "1")
    private Long conversationId;
    
    /**
     * AI模式
     */
    @Schema(description = "AI模式", example = "CREATE_NOTE")
    private String mode;
    
    /**
     * 生成的标题
     */
    @Schema(description = "生成的标题", example = "Spring Boot入门教程")
    private String title;
    
    /**
     * 生成的内容
     */
    @Schema(description = "生成的内容", example = "这是一篇关于Spring Boot的入门教程...")
    private String content;
    
    /**
     * 结构化数据（JSON格式字符串）
     */
    @Schema(description = "结构化数据", example = "{\"sections\":[{\"title\":\"简介\",\"content\":\"...\"},{\"title\":\"安装\",\"content\":\"...\"}]}")
    private String structuredData;
    
    /**
     * 元数据（JSON格式字符串）
     */
    @Schema(description = "元数据", example = "{\"model\":\"deepseek-chat\",\"tokens\":1200}")
    private String metadata;
    
    /**
     * 建议的标签
     */
    @Schema(description = "建议的标签", example = "[\"Spring Boot\",\"Java\",\"教程\"]")
    private String[] suggestedTags;
    
    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private String createdAt;
} 